package cn.lg.soar.system.account.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
@ApiModel(value = "单点登录")
public class SsoLoginDTO {

    @NotBlank(message = "ticket 不能为空")
    @ApiModelProperty("ticket 不能为空")
    private String ticket;

    @ApiModelProperty("服务端id，多个服务端时用于指定")
    private String serverId;

}
